---
title: "Accessibility Checker Rule Help: RPT_Block_ShouldBeHeading"
---
import "../../../styles/ToolHelp.scss"
import { CodeSnippet, Tag } from "carbon-components-react";

<div className="toolHelp">
<Row>
<Column colLg={16} colMd={8} colSm={4} className="toolHead">

### Check text that looks like a heading but is not within a heading element

<div id="locLevel"></div>

Heading text must use a heading element

</Column>
</Row>
<Row>
<Column colLg={11} colMd={5} colSm={4} className="toolMain">

### Why is this important?

HTML heading elements are used by assistive technologies to recognize headings on a page. Headings provide a good overview of the structure of a page and allow users to quickly find and navigate to different sections of interest.

<div id="locSnippet"></div>

### What to do

 * If this text is intended to be a heading, use the `<h>` elements (h1-h6) rather than style alone to define heading text (e.g. `<h2>Section 1</h2>`);
 * OR, use other markup so the element's semantic meaning is exposed to assistive technology that is appropriate for the content of the element.

</Column>
<Column colLg={5} colMd={3} colSm={4} className="toolLeft">

### About this requirement

[IBM 1.3.1 Info and Relationships](https://www.ibm.com/able/requirements/requirements/#1_3_1)
[WCAG 2.1 technique H42](https://www.w3.org/WAI/WCAG21/Techniques/html/H42)

### Who does this affect?

* People who rely on keyboard control
* People using a screen reader, including blind, low vision and neurodivergent people
* People with cognitive differences who view interfaces using an adapted layout

</Column>
</Row>
</div>

export default ({ children, _frontmatter }) => (<React.Fragment>{children}</React.Fragment>)
